stylecontext: Add GTK_STYLE_CLASS_OVERSHOOT
authorCarlos Garnacho <carlosg@gnome.org>
Mon, 30 Jun 2014 18:45:32 +0000 (20:45 +0200)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 10 Jul 2014 03:11:42 +0000 (23:11 -0400)
This class is meant to render the hint on scrolledwindow corners
when scrolling past-limits.

https://bugzilla.gnome.org/show_bug.cgi?id=731297

docs/reference/gtk/gtk3-sections.txt
gtk/gtkstylecontext.h

index 4386ffe6f884a1ddd884f121c928dd5cf61054be..254fed846f8e6a26d7a702975d781cd255b3e388 100644 (file)
@@ -6001,6 +6001,7 @@ GTK_STYLE_CLASS_MESSAGE_DIALOG
 GTK_STYLE_CLASS_NEEDS_ATTENTION
 GTK_STYLE_CLASS_NOTEBOOK
 GTK_STYLE_CLASS_OSD
+GTK_STYLE_CLASS_OVERSHOOT
 GTK_STYLE_CLASS_PANE_SEPARATOR
 GTK_STYLE_CLASS_POPUP
 GTK_STYLE_CLASS_PRIMARY_TOOLBAR
index e717473669ab54422527b88161b2b0b099e2817d..8bb499395b3b3707fa28f62aecd80e6b5ff69707 100644 (file)
@@ -863,6 +863,16 @@ struct _GtkStyleContextClass
  */
 #define GTK_STYLE_CLASS_READ_ONLY "read-only"
 
+/*
+ * GTK_STYLE_CLASS_OVERSHOOT:
+ * A CSS class that is added on the visual hints that happen
+ * when scrolling is attempted past the limits of a scrollable
+ * area.
+ *
+ * Since: 3.14
+ */
+#define GTK_STYLE_CLASS_OVERSHOOT "overshoot"
+
 /**
  * GTK_STYLE_REGION_ROW:
  *